import * as express from 'express';
import friendController from '../../controllers/friendController';

const router = express.Router()

// 根据 uid 获取好友列表
router.get('/:uid', friendController.findFriendsByUid)
// 添加好友
router.post('/add', friendController.addFriend)
// 移除好友
router.delete('/remove', friendController.removeFriend)

export default router